package org.neuedu.vblogserver.mapper;

import org.apache.ibatis.annotations.Param;
import org.neuedu.vblogserver.bean.Category;

import java.util.List;

public interface CategoryMapper {
    List<Category> getCategory(@Param("keyWord") String keyWord);

    int addCategory(Category category);

    int selectDelete(int id);

    int deleteCategory(int id);

    int mulDeleteCategory(@Param("ids") int[] ids);

    int updateName(Category category);

}